GET api/SIMS/GetStockImages?stockCodes[0]={stockCodes[0]}&stockCodes[1]={stockCodes[1]}&companyKey={companyKey}

Gets the image of the stock code(s) specified. If no stock codes are specified, the linked images of all stock cards are returned.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stockCodes

A list of stock codes (Optional)

Collection of string

Required

companyKey

The company name if the service is connected to multiple SIMS companies (Optional)

string

Default value is

Body Parameters

N/A


Response Information

Resource Description

The stock images

Collection of StockImage
NameDescriptionTypeAdditional information
StockCode

string

N/A

FileName

string

N/A

Picture

Collection of byte

N/A

Response Formats

application/json, text/json

Sample:
[
  {
    "StockCode": "sample string 1",
    "FileName": "sample string 2",
    "Picture": "QEA="
  },
  {
    "StockCode": "sample string 1",
    "FileName": "sample string 2",
    "Picture": "QEA="
  }
]